<style>
.test {
	position: relative;
	left: 10px;	top: 10px;
	width: 100px;	height: 100px;
	border: 2px solid blue;
}
.test:before {
	content:'<div class="test">テ<span style="font-size:150%;color:red">キ<strong style="font-size:200%">ス</strong>ト</span><br>Text</div>';
	position: absolute;
	left:25px;	top: 25px;
	width: 100px;	height: 100px;
	border: 2px solid green;
}
</style>
<div class="test">
テ<span style="font-size:150%;color:red">キ<strong style="font-size:200%">ス</strong>ト</span><br>Text
</div>
